import wxsdk from "@/utils/wxsdk";
import global_ from "../../global.config";
export const ACT_CODE = "12";
export const BASE_TEXT = "本活动由原圈网络提供技术支持";
export const SHARE_TITLE = "碧桂园27周年庆专属优惠 最大折合9折";
export const SHARE_DESC = "佛山18盘联动，参与就有机会获得《复联4》电影票！";
export const SHARE_LINK = location.protocol + '//' + location.host + '/act/bgyact/index';
export const SHARE_IMG_URL = "http://rs.static.quanc.com.cn/activies/bgyAct/share.jpg";
export function checkaward(list, id) {
    let flag = false;
    list.forEach(function (v, i) {
        if(v.prizecode == id){
            flag = true;
        }
    })
    return flag;
}
export function initShare() {
    global_.SHARE_TITLE = SHARE_TITLE;
    global_.SHARE_DESC = SHARE_DESC;
    global_.SHARE_LINK = SHARE_LINK;
    global_.SHARE_IMG_URL = SHARE_IMG_URL;
    wxsdk.init();
}